package com.smw.service.impl;

import com.smw.dao.TypeDao;
import com.smw.entity.Type;
import com.smw.service.TypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class TypeServiceImp implements TypeService {
    @Autowired
    private TypeDao typeDao;
    @Override
    public List<Type> selectAllType() {
        List<Type>type=typeDao.selectAllType();
        return type;
    }
}
